home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
taropyon
/
splib
/
splib.lzh
/
PRG
/
ZMODEM
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1994-08-25
|
4KB
|
133 lines
######################################################################
# "makefile"
######################################################################
# <target> : <source(s)>
# <command>
#---------------------------------------------------------------------
# $? â^ü[âQâbâgéµéΦÉVé╡éóé╖é╫é─é╠â\ü[âXû╝
# $# é╖é╫é─é╠â\ü[âXû╝é╔é¿é½é⌐éφéΦé▄é╖
# $& $# é╞ô»é╢é┼é╖é¬üAègÆúÄqüi. éµéΦîπüjé¬ÄµéΦÅ£é⌐éΩé─éóé▄é╖
# $@ â^ü[âQâbâgû╝é╔é¿é½é⌐éφéΦé▄é╖
# $* $@ é╞ô»é╢é┼é╖é¬üAègÆúÄqé¬ÄµéΦÅ£é⌐éΩé─éóé▄é╖
# $< éPö╘ì╢é╔éáéΘâ\ü[âXû╝é╔é¿é½é⌐éφéΦé▄é╖
# $> $< é╞ô»é╢é┼é╖é¬üAègÆúÄqé¬ÄµéΦÅ£é⌐éΩé─éóé▄é╖
# $:<ò╢ÄÜ>
# ${ ... }
######################################################################
#---------------------------------------------------------------------
# rules
#
.SUFFIXES: .asm .c
CC = run386 /HC386/BIN/hcd386p
CFLAGS = -tmpi1 d:/tmp/t1 -tmpi2 d:/tmp/t2
ASM = 386asm
AFLAGS = -twoc -nolist
LINK = run386 /HC386/BIN/386linkp
LFLAGS =
YACC = run386 /hc/yacc/yacc
.c.obj:
$(CC) $< $(CFLAGS) -object $@
.asm.obj:
$(ASM) $< $(AFLAGS) -object $@
.PATH : ./ cci/
#---------------------------------------------------------------------
TARGET = sz.exp rz.exp src.lzh
HC_PRO = hc.pro
HC_PATH = /HC386
LIB_PATH = $(HC_PATH)/LIB
NEWRS_OBJ = $(HC_PATH)/LIB/newrs.obj
USR_LIBS = ../../LIB/splib.lib
tags : $(HC_PRO) $(TARGET)
@echo end
$(HC_PRO) : makefile
@echo #pragma Off(Floating_point) > $@
@echo #pragma Ipath("../../INC/") >> $@
#---------------------------------------------------------------------
PCL_OBJS = \
$(LIB_PATH)/loader.obj \
$(LIB_PATH)/pcptool.obj \
OBJ/pcp_dta.obj \
$(LIB_PATH)/pcp_exit.obj
#---------------------------------------------------------------------
SZ_OBJS= \
$(PCL_OBJS) $(NEWRS_OBJ) \
OBJ/szmain.obj OBJ/sz.obj OBJ/flib.obj obj\rsctrl.obj $(DTA_OBJ)
OBJ/szmain.obj : main.c msgdat.h
$(CC) $< $(CFLAGS) -def _SZ -object $@
OBJ/sz.obj : sz.c rbsb.c zm.c szhelp.c
#---------------------------------------------------------------------
# link
#
SZ_LNKS = \
$(SZ_OBJS) \
-lib \
$(USR_LIBS) \
$(LIB_PATH)/snd \
$(LIB_PATH)/tbios \
$(LIB_PATH)/fmcfrb \
$(LIB_PATH)/cdrfrb \
$(LIB_PATH)/t_os \
$(LIB_PATH)/tifflib \
$(HC_PATH)/SMALL/hce \
$(HC_PATH)/SMALL/na \
-nistack 6 \
-istksize 2 \
-callbufs 4 \
-nosymbol \
-twocase
sz.exp : $(SZ_OBJS) $(USR_LIBS)
$(LINK) @${$(SZ_LNKS)} -exe $@
@del make.i
#---------------------------------------------------------------------
RZ_OBJS= \
$(PCL_OBJS) $(NEWRS_OBJ) \
OBJ/rzmain.obj OBJ/rz.obj OBJ/flib.obj obj\rsctrl.obj $(DTA_OBJ)
OBJ/rzmain.obj : main.c msgdat.h
$(CC) $< $(CFLAGS) -def _RZ -object $@
OBJ/rz.obj : rz.c rbsb.c zm.c rzhelp.c
#---------------------------------------------------------------------
# RZ link
#
RZ_LNKS = \
$(RZ_OBJS) \
-lib \
$(USR_LIBS) \
$(LIB_PATH)/snd \
$(LIB_PATH)/tbios \
$(LIB_PATH)/fmcfrb \
$(LIB_PATH)/cdrfrb \
$(LIB_PATH)/t_os \
$(LIB_PATH)/tifflib \
$(HC_PATH)/SMALL/hce \
$(HC_PATH)/SMALL/na \
-nistack 6 \
-istksize 2 \
-callbufs 4 \
-nosymbol \
-twocase
rz.exp : $(RZ_OBJS) $(USR_LIBS)
$(LINK) @${$(RZ_LNKS)} -exe $@
@del make.i
#---------------------------------------------------------------------
# source
#
src.lzh : makefile sz.exp rz.exp
lha u $@ makefile *.h *.c *.asm